export const attribute = {
    title: "属性",
    options: [
        {
            label: "属性名",
            prop: "name",
            width: "150px"
        },
        {
            label: "类型",
            prop: "type",
            width: "150px",
        },
        {
            label: "说明",
            prop: "explain",
        },
        {
            label: "默认值",
            prop: "default",
            width: "200px"
        }
    ],
    data: [
        {
            name: "imgList",
            type: "Array",
            explain: "飘落物的图片列表",
            default: "默认使用樱花图片",
        },
        {
            name: "minWidth",
            type: "Number",
            explain: "图片最小宽度，单位像素，不能小于零",
            default: "30",
        },
        {
            name: "minHeight",
            type: "Number",
            explain: "图片最小高度，单位像素，不能小于零",
            default: "25",
        },
        {
            name: "count",
            type: "Number",
            explain: "生成飘落图片的数量，不能小于零",
            default: "10",
        },
        {
            name: "xSpeed",
            type: "Number",
            explain: "横向移动速度，不能小于零，值越大移动越快",
            default: "1"
        },
        {
            name: "ySpeed",
            type: "Number",
            explain: "纵向移动速度，不能小于零，值越大移动越快",
            default: "1"
        },
        {
            name: "direction",
            type: "'left' | 'right'",
            explain: "飘落方向",
            default: "'left'"
        },
        {
            name: "disableRotate",
            type: "Boolean",
            explain: "禁止飘落图片旋转",
            default: "false"
        }
    ]
}